import React, { Component } from 'react';
import WithRouter from "./WithRouter";

/* 
es7 装饰器语法 => 装饰器 模式  设计模式
 */
@WithRouter
class HOCA extends Component {
  render() {
    // this.props.history={}
    console.log(this.props);
    return (
      <div>HOCA</div>
    );
  }
}
export default HOCA;